<?php
/* 
    Project     : 48c6c450f1a4a0cc53d9585dc0fee742
    Created on  : Mar 16, 2013, 11:29:15 PM
    Author      : Truong Khuong - khuongxuantruong@gmail.com
    Description :
        Purpose of the stylesheet follows.
*/
class news_model extends CI_model {

    function __construct()
    {
        parent::__construct();
    }
    function get($id=0){
        $query=$this->db
                ->where('Id',$id)
                //->where('Active','true')
                ->get("news"); 
        return $query->row();
    }
}
?>
